package cn.damai.mine.lambda.thread;

public class LambdaThread {
	
	public static void main(String[] args) {
		
		new Thread(new Runnable() {
			
			@Override
			public void run() {
				System.out.println("Hello world !");
			}
		}).start();
		
		// 1.2使用 lambda expression  
		new Thread(() -> System.out.println("Hello world !")).start();
		
	}

}
